﻿@model etracks.Web.EnvironmentResourceViewModel
@{
    ViewBag.Title = "Link | Resource";
}

<div class="container-fluid">
    <div class="row">
        <div class="col-md-6">
            @DataHelper.LinkButton(Url.Action("LinkResource", "Environment", new { id = string.Empty}), "Link Resource", "glyphicon glyphicon-link")

        </div>
        <div class="col-md-6 text-right">
            @Html.Partial("Resource_SearchFormPartial", string.Empty)
        </div>
    </div>

    <div class="row">

        <div class="col-md-12">

            <h2>Resource Linked</h2>

            @Html.Partial("Resource_ListPartial", @Model.ResourceList)

        </div>

    </div>

    @*<footer>
        @Html.ActionLink("Back", "Index", "Resource", null, new { @class = "btn btn-default" })
    </footer>*@

</div>
